package com.bean;

import java.util.ArrayList;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection="travelUser")
public class TravelUser {

	@Id
	private String id;
	private Time[] list;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Time[] getList() {
		return list;
	}
	public void setList(Time[] list) {
		this.list = list;
	}

	public class Time{
		private String time;
		private ArrayList<Locali> area;
		public String getTime() {
			return time;
		}
		public void setTime(String time) {
			this.time = time;
		}
		public ArrayList<Locali> getArea() {
			return area;
		}
		public void setArea(ArrayList<Locali> area) {
			this.area = area;
		}
	}
}